package com.ztgf.sys.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * @author: chenyu.wang
 * @date: 2020-08-12
 * @description:后台管理系统首页销售额对比VO
 */
@Data
public class SysHomePageSalesCompareVO implements Serializable {

    @ApiModelProperty(value = "本周销售额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal ordersThisWeek;

    @ApiModelProperty(value = "本月销售额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal ordersThisMonth;

    @ApiModelProperty(value = "上周销售额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal ordersLastWeek;

    @ApiModelProperty(value = "上月销售额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal ordersLastMonth;

    @ApiModelProperty(value = "周对比")
    private String weeklyComparison;

    @ApiModelProperty(value = "月对比")
    private String monthComparison;
}
